package com.kukudexin.demo.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

/**
 * @author: 德鑫
 * @version:
 * @since: 2021/4/26
 */
public class AdminAuthInterceptor implements Interceptor {
    @Override
    public void intercept(Invocation inv) {
        System.out.println("AdminAuthInterceptor Before method invoking");
        inv.invoke();
        System.out.println("AdminAuthInterceptor After method invoking");
    }
}
